import request from '@/utils/request'

// 查询债券投资监测报列表
export function listFundBondInvest(query) {
  return request({
    url: '/operation/fundBondInvest/list',
    method: 'get',
    params: query
  })
}

// 查询债券投资监测报详细
export function getFundBondInvest(id) {
  return request({
    url: '/operation/fundBondInvest/' + id,
    method: 'get'
  })
}

// 保存债券投资监测报
export function saveFundBondInvest(data) {
  return request({
    url: '/operation/fundBondInvest/save',
    method: 'post',
    data: data
  })
}

// 删除债券投资监测报
export function delFundBondInvest(id) {
  return request({
    url: '/operation/fundBondInvest/' + id,
    method: 'delete'
  })
}

// 导出债券投资监测报
export function exportFundBondInvest(query) {
  return request({
    url: '/operation/fundBondInvest/export',
    method: 'get',
    params: query
  })
}

// 查询债券投资监测报详细
export function getByMonitorId(monitorId) {
  return request({
    url: '/operation/fundBondInvest/getByMonitorId/' + monitorId,
    method: 'get'
  })
}
